.n-modal-container {
  //所有模态框事件穿透
  pointer-events: none;
  .n-modal-mask {
    //隐藏遮罩层
    display: none;
  }
}

.n-input {
  --n-height: 36px !important; // 统一高度
  --n-border: 0 !important;
  --n-border-hover: 1px solid #009aff !important;
  --n-border-focus: 1px solid #009aff !important;
  --n-border-radius: 5px !important; // 统一圆角为5px
  --n-text-color: #ffffff !important;
  // 科技感毛玻璃样式
  background: rgba(0, 25, 43, 0.5) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(0, 154, 255, 0.2) !important;
}

// 统一naiveUI表单组件样式
.n-input-wrapper,
.n-select,
.n-date-picker {
  .n-input, .n-base-selection-tags {
    --n-height: 36px !important; // 统一高度
    --n-border: 0 !important;
    --n-border-hover: 1px solid #009aff !important;
    --n-border-focus: 1px solid #009aff !important;
    --n-border-radius: 5px !important; // 统一圆角为5px
    --n-text-color: #ffffff !important;
    // 科技感毛玻璃样式
    background: rgba(0, 25, 43, 0.5) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 154, 255, 0.2) !important;
  }
}

// 确保下拉选择框和日期选择器组件的样式统一
.n-select, .n-base-selection, .n-base-selection-label, .n-base-selection__border, .n-base-selection__state-border {
  --n-height: 36px !important;
  --n-border-radius: 5px !important;
  --n-border: 0 !important;
  --n-border-hover: 1px solid #009aff !important;
  --n-border-focus: 1px solid #009aff !important;
  --n-text-color: #ffffff !important;
  .n-base-selection-label {
    // 科技感毛玻璃样式
    background: rgba(0, 25, 43, 0.5) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 154, 255, 0.2) !important;
  }
}

.n-date-picker {
  --n-height: 36px !important;
  --n-border-radius: 5px !important;
}

// 保持原有特殊样式的兼容
.n-date-picker[transparent-style] {
  .n-input {
    --n-height: 36px !important; // 调整为统一高度
    --n-border-radius: 5px !important; // 调整为统一圆角
  }
}